package com.rc.saas.tenant.service.shop;

import com.github.pagehelper.PageInfo;
import com.rc.saas.tenant.base.BaseService;
import com.rc.saas.tenant.common.vo.TResponse;
import com.rc.saas.tenant.mapper.shop.ShopOrderMapper;
import com.rc.saas.tenant.model.shop.ShopOrder;
import com.rc.saas.tenant.model.shop.ShopOrderExample;
import com.rc.saas.tenant.model.tenant.TenantUser;
import com.rc.saas.tenant.search.shop.ShopOrderSearch;
import com.rc.saas.tenant.search.shop.ShopStockRecordSearch;
import com.rc.saas.tenant.vo.shop.ShopOrderHistoryVo;
import com.rc.saas.tenant.vo.shop.ShopOrderResultVo;
import com.rc.saas.tenant.vo.shop.ShopOrderStatisticsVo;

/**
 * @Author: 
 * @Date: 
 * @Description:
 */
public interface ShopOrderService  extends BaseService<Long, ShopOrder, ShopOrderExample, ShopOrderMapper> {
    PageInfo<ShopOrderResultVo> listPageByCondition(ShopOrderSearch shopOrderSearch);

    Long insertReturnId(ShopOrder shopOrder);

    ShopOrderStatisticsVo selectShopOrderStatistics(String tenantCode);

    ShopOrderResultVo selectShopOrderInfo(Long shopOrderId);

    TResponse updateShopOrderInfo(Long shopOrderId, String shippingNo, String deliverExpress, TenantUser tenantUser);
}
